<?php

/* @var $this \yii\web\View */
/* @var $content string */

use yii\helpers\Html;
use yii\bootstrap\Nav;
use yii\bootstrap\NavBar;
use yii\widgets\Breadcrumbs;

$static_url=YII_ENV=="dev"?"http://127.0.0.1:9090":"http://static.lvacation.cn";
$version="1482848568803";
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
    <meta charset="<?= Yii::$app->charset ?>">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?= Html::csrfMetaTags() ?>
    <title><?= Html::encode($this->title) ?></title>
    <?php
    $this->registerCssFile($static_url.'/css/www/main.bundle.css?v='.$version);

    if (isset($this->params['cssFiles'])) {
        foreach ($this->params['cssFiles'] as $css) {
            $this->registerCssFile($static_url.$css."?v={$version}");
        }
    }
    ?>
    <?php $this->head() ?>
</head>
<body>
<?php $this->beginBody() ?>
<div class="header" id="header">
    <div class="header-wrapper">
        <div class="logo">
            <a class="mfw-logo" title="自由行" href="/" ><img height="40" src="<?= $static_url; ?>/image/logo_large.png"/></a>
        </div>
        <ul class="header-nav">
            <li class="active"><a href="">首页</a></li>
            <li><a href="">目的地</a></li>
            <li><a href="">游记</a></li>
            <li><a href="">攻略</a></li>
            <li class="has-child"><a href="">商城</a>
                <ul class="header-child-nav">
                    <li><a href="">游记</a></li>
                    <li><a href="">攻略</a></li>
                    <li><a href="">商城</a>
                </ul>
            </li>
        </ul>
        <div class="header-search">
            <div class="header-search-wrapper" data-bind="css:searchBoxClass">
                <form class="header-searchform" >
                    <input data-bind="hasFocus:isSearchBoxFocus" placeholder="请输入想去的地方" name="q" type="text" autocomplete="off">
                    <button type="submit" class="iconfont icon-search"></button>
                </form>
            </div>
        </div>
        <ul class="header-user-wrapper">
            <!-- ko if:!isLogin()-->
            <li><a href="">登录</a></li>
            <li><a href="">注册</a></li>
            <!-- /ko -->
            <!-- ko if:isLogin()-->
            <li class="avatar"><a href=""><img data-bind="attr:{src:user().avatar}"/></a></li>
            <!-- /ko -->
        </ul>
    </div>
</div>
<div class="wrap">
    <div class="container">
        <?= $content ?>
    </div>
</div>




<div id="footer">
    <div class="ft-content">
        <div class="ft-info clearfix">
            <dl class="ft-info-col ft-info-intro">
                <dt>中国领先的自由行服务平台</dt>
                <dd>覆盖全球200多个国家和地区</dd>
                <dd><strong>100,000,000</strong> 位旅行者</dd>
                <dd><strong>920,000</strong> 家国际酒店</dd>
                <dd><strong>21,000,000</strong> 条真实点评</dd>
                <dd><strong>382,000,000</strong> 次攻略下载</dd>
                <dd><a class="highlight" href="/activity/sales_report2015/index" target="_blank">中国旅游行业第一部“玩法”</a></dd>
            </dl>
            <dl class="ft-info-col ft-info-about">
                <dt>关于我们</dt>
                <dd><a href="/s/about.html" rel="nofollow">关于我们</a></dd>
                <dd><a href="/s/property.html" rel="nofollow">网络信息侵权通知指引</a></dd>
                <dd><a href="/s/private.html" rel="nofollow">隐私政策</a></dd>
                <dd><a href="/s/agreement.html" rel="nofollow">服务协议</a></dd>
                <dd><a href="/s/contact.html" rel="nofollow">联系我们</a></dd>
                <dd><a class="joinus highlight" title="团队招聘" target="_blank" href="/s/hr.html" rel="nofollow">加入我们</a></dd>
            </dl>
            <dl class="ft-info-col ft-info-service">
                <dt>旅行服务</dt>
                <dd>
                    <ul class="clearfix">
                        <li><a target="_blank" href="/gonglve/">旅游攻略</a></li>
                        <li><a target="_blank" href="/hotel/">酒店预订</a></li>
                        <li><a target="_blank" href="/sales/">旅游特价</a></li>
                        <li><a target="_blank" href="http://zuche.mafengwo.cn/">国际租车</a></li>
                        <li><a target="_blank" href="/wenda/">旅游问答</a></li>
                        <li><a target="_blank" href="/insure/">旅游保险</a></li>
                        <li><a target="_blank" href="http://z.mafengwo.cn">旅游指南</a></li>
                        <li><a target="_blank" href="http://huoche.mafengwo.cn">订火车票</a></li>
                        <li><a target="_blank" href="/travel-news/">旅游资讯</a></li>
                        <li><a target="_blank" href="/app/intro/gonglve.php">APP下载</a></li>
                    </ul>
                </dd>
            </dl>
            <dl class="ft-info-col ft-info-qrcode">
                <dd>
                    <span class="ft-qrcode-tejia"></span>
                    <p>良品</p>
                </dd>
                <dd>
                    <span class="ft-qrcode-weixin"></span>
                    <p>官方微信</p>
                </dd>
            </dl>
            <dl class="ft-info-social">
                <dt>关注我们</dt>
                <dd>
                    <a class="ft-social-weibo" target="_blank" href="http://weibo.com/mafengwovip" rel="nofollow"><i class="ft-social-icon"></i></a>
                    <a class="ft-social-qqt" target="_blank" href="http://t.qq.com/mafengwovip" rel="nofollow"><i class="ft-social-icon"></i></a>
                    <a class="ft-social-qzone" target="_blank" href="http://1213600479.qzone.qq.com/" rel="nofollow"><i class="ft-social-icon"></i></a>
                </dd>
            </dl>
        </div>

        <div class="ft-copyright">
            <div class="ft-safety">
                <a class="s-a" target="_blank" href="https://search.szfw.org/cert/l/CX20140627008255008321" id="___szfw_logo___"></a>
                <a class="s-b" href="https://ss.knet.cn/verifyseal.dll?sn=e130816110100420286o93000000&amp;ct=df&amp;a=1&amp;pa=787189" target="_blank" rel="nofollow"></a>
            </div>
            <a href="http://www.mafengwo.cn"><i class="ft-mfw-logo"></i></a>
            <p>© 2016 LVacation.cn <a href="http://www.miibeian.gov.cn/" target="_blank" rel="nofollow">沪ICP备14046012号-2</a> </p>
            <p>全国统一客服电话：<span class="highlight"></span><a target="_blank" href="/s/sitemap.html" class="highlight m_l_10">网站地图</a></p>
        </div>
    </div>
</div>
<div id="bottom">
    <!-- ko with:modal -->
    <div class="modal" data-bind="visible:visible" style="display: none">
        <div class="modal-mask"></div>
        <div class="modal-wrapper">
            <div class="modal-closer" data-bind="click:close">
                <i class="iconfont icon-guanbi"></i>
            </div>
            <div class="modal-content" data-bind="css:isWarning()?'':'no-warning'">
                <p class="warning">
                    <i>!</i>
                </p>
                <p class="content" data-bind="html:content"></p>
            </div>
            <div class="modal-footer">
                <!--ko foreach:buttons-->
                <button data-bind="text:name,click:click"></button>
                <!--/ko-->
            </div>
        </div>
    </div>
    <!--/ko-->
</div>


<?php $this->endBody() ?>
<?php
$this->registerJsFile("{$static_url}/js/vendor.bundle.js?v={$version}");
?>
<?php
if (isset($this->params['jsFiles'])) {
    foreach ($this->params['jsFiles'] as $script) {
        $this->registerJsFile($static_url.$script."?v={$version}");
    }
}
?>
</body>
</html>
<?php $this->endPage() ?>
